package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.ADictIndustryAffiliation;
import com.ruoyi.system.service.IADictIndustryAffiliationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 分享类别Controller
 *
 * @author system
 * @date 2024-12-12
 */
@RestController
@RequestMapping("/xcx/XcxADictAff")
public class XcxADictAff extends BaseController {

    @Autowired
    private IADictIndustryAffiliationService aDictIndustryAffiliationService;

    /**
     * 查询分享类别列表
     */
    @GetMapping("/list")
    public AjaxResult list() {
        return success(aDictIndustryAffiliationService.selectADictIndustryAffList());
    }
}
